#
# Be sure to run `pod lib lint SQTBBaiChuanBiz.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'SQTBBaiChuanBiz'
  s.version          = '0.1.0'
  s.summary          = 'A short description of SQTBBaiChuanBiz.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
  百川SDK封装
                       DESC

  s.homepage         = 'https://github.com/3275586/SQTBBaiChuanBiz'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '3275586' => 'liaoyiping@ibantang.com' }
  s.source           = { :git => 'https://github.com/3275586/SQTBBaiChuanBiz.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'

  s.source_files = 'SQTBBaiChuanBiz/Classes/**/*'
  
   s.resource_bundles = {
     'SQTBBaiChuanBiz' => ['SQTBBaiChuanBiz/Assets/*.png']
   }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  s.frameworks = "CoreTelephony", "CoreMotion"
  s.libraries = "sqlite3", "c++", "z",'resolv'
#  s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }
  
#基础电商SDK依赖
  s.dependency  'mtopSDK', '3.0.0.5'
  s.dependency  'securityGuard', '5.4.191'
  s.dependency  'BCUserTrack', '7.2.0.7-BC1'
  s.dependency  'AliAuthSDK', '1.1.0.42-BC3'
  s.dependency  'AliLinkPartnerSDK', '4.0.0.24-wk'
  s.dependency  'MunionBcAdSDK', '1.0.5'

   #电商套件依赖
   s.dependency  'WindVane', '8.5.0.46-bc11'
   s.dependency  'WindMix', '1.0.0.5'
   s.dependency  'Ariver', '1.0.11.2-BC1'
   s.dependency  'Triver', '1.0.11.5-BC14'
   s.dependency  'Triver/LivePlayer', '1.0.11.5-BC14'
   s.dependency  'Windmill', '1.3.7.3-BC2'
   s.dependency  'AlibcTradeUltimateSDK', '5.0.0.6'
   s.dependency  'AlibcTradeUltimateSDK/MiniApp', '5.0.0.6'
   s.dependency  'TBMediaPlayer', '2.0.7.37'
   s.dependency  'miniAppMediaSDK', '0.0.1.45-BC2'
   s.dependency  'DWInteractiveSDK', '2.0.7.53-BC'
    
   #电商套件外部依赖 可以使用媒体版本
   s.dependency 'FMDB'
   s.dependency 'Reachability'
   s.dependency 'Masonry'
   s.dependency 'SocketRocket'
   
   #其他
   s.dependency 'SSZipArchive'
   
   # 支付宝
  #s.dependency  'AlipaySDK','2.0.0-bc'
  s.dependency 'SQToolsLibrary'
  s.dependency 'SQMediator'
  
  
  
  if ENV['push'] == "1"
      puts '-----------------------提交本地pod---------------------------------------'
      dev_url = "./"+s.name
      puts Dir.pwd
      system 'git add .'
      system "git commit -m 'pod 提交'"
      system 'git push origin master'
      puts '--------------------------结束-----------------------------------------'
  end
  
end
